<template>
  <div>
    <div class="content">
        <div class="title">
            <a href="#" @click="goback"></a>
            <p>余额</p>
            <p>明细</p>
        </div>
        <div class="bal">
            <p>余额账户(元)</p>
            <h1>{{this.global.balance}}.00</h1>
        </div>
    </div>
       <div class="list">
           <router-link to="recharge">
        <li>
            <img src="../../assets/img/user/b_ico_1.png" alt="">
            <p>充值</p>
            <a href="#"></a>
        </li>
        </router-link>
        <router-link to="cash">
        <li>
            <img src="../../assets/img/user/b_ico_2.png" alt="">
            <p>提现</p>
            <a href="#"></a>
        </li>
        </router-link>
       <div class="space"></div>
       <li>
            <img src="../../assets/img/user/b_ico_3.png" alt="">
            <p>集分宝</p>
            <a href="#"></a>
        </li> 
       </div>
    <div class="footer">
        <li>
            <a href="#"></a>
            <p>信用借贷</p>
            <span></span>
            <p>常见问题</p>
        </li>
    </div>
  </div>
</template>

<script>
export default {
    data(){
        return{

        }
    },
    methods:{
        goback(){
            this.$router.go(-1)
        }
    }
}
</script>

<style lang="less" scoped>
.space{
    height: 20px;
    background-color: #f6f6f6;
}
.content{
    background-color: #1c81cf;
    height: 200px;
    .title{
        display: flex;
        align-items: center;
        width: 95%;
        margin: 0 auto;
        padding-top: 10px;
        color: #fff;
        a{
            width: 30px;
            height: 30px;
            background: url("../../assets/img/left.png") no-repeat;
            background-size: 100%;
        }
        p:nth-child(2){
            width: 80%;
        }
        p{
            margin: 0;
            font-size: 14px;
        }
    }
    .bal{
        width: 90%;
        margin: 0 auto;
        color: #fff;
        p{
            color: #ccc;
            font-size: 13px;
            margin-top: 30px;
        }
        h1{
            font-size: 50px;
            font-weight: 500;
        }
    }
}
.list{
  
    li{
        display: flex;
        align-items: center;
        height: 40px;
        border-bottom: 1px solid #f6f6f6;
        margin-left: 10px;
        font-size: 14px;
        img{
        width: 20px;
        height: 15px;
        }
        p{
            display: flex;
            margin-left: 10px;
            width: 85%;
            span{
                margin-left: auto;
            }
        }
        a{
            display: block;
            width: 20px;
            height: 20px;
            background: url("../../assets/img/right_1.png") no-repeat;
            background-size: 100%;
        }
    }
    
  }
  .footer{
      background-color: #f6f6f6;
      height: 25px;
      display: flex;
      justify-content: center;
      color: #5c6a82;
      padding-top: 400px;
      li{
          display: flex;
          position: fixed;
          bottom: 10px;
          span{
          width: 3px;
          height: 15px;
          margin: 0 10px;
          background-color: #5c6a82;
          border-radius: 15px;
      }
      p{
          margin: 0;
          font-size: 12px;
      }
      }
      
  }
</style>